API

Finance APIs

GET finance/bank-statements/{bankStatementId}

Bank statement details for provided identifier

HTTP method GET
URI https://api.rambase.net/finance/bank-statements/{bankStatementId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {bankStatementId} Bank statement identifier
Integer, minimum 100000
Successful HTTP status code 200
API resource identifier 496, version 21

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.

Read more about filters and sorting on how to use filter parameters and named filters.

Read more about filters and sorting on how to use sortable parameters

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<BankStatement>
2
     <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
3
     <BankStatementId
BankStatementId

Bank statement identifier

>
{Integer}</BankStatementId>
4
     <Status
Status

Status of bank statement

Possible domain values can be found here

>
{Integer}</Status>
5
     <BookingDate
BookingDate

Booking date of the bank statement

>
{Date}</BookingDate>
6
     <ErrorMessage
ErrorMessage

Shows a message of validation error for this document

Possible domain values can be found here

>
{String}</ErrorMessage>
7
     <SortIndex
SortIndex

Sorting index of bank statement

>
{Integer}</SortIndex>
8
     <IsExcludedFromAutomaticReconciliation
IsExcludedFromAutomaticReconciliation

Indicates if the bank statement should be excluded from automatic reconciliation

>
{Boolean}</IsExcludedFromAutomaticReconciliation>
9
     <BankAccount>
10
          <BankAccountId
BankAccountId

Bank account identifier

>
{Integer}</BankAccountId>
11
          <Name
Name

Name of bank account

>
{String}</Name>
12
          <AccountNumber
AccountNumber

Account number used to identify the bank account

>
{String}</AccountNumber>
13
          <Currency
Currency

Currency used for the bank account

>
{String}</Currency>
14
          <BankAccountLink
BankAccountLink

Bank reference

>
{String}</BankAccountLink>
15
     </BankAccount>
16
     <AccountingPeriod>
17
          <AccountingPeriodId
AccountingPeriodId

Accounting period identifier

>
{Integer}</AccountingPeriodId>
18
          <Period
Period

Accounting period

>
{Integer}</Period>
19
          <AccountingPeriodLink
AccountingPeriodLink

Accounting period reference

>
{String}</AccountingPeriodLink>
20
     </AccountingPeriod>
21
     <CreatedBy>
22
          <UserId
UserId

User identifier

>
{Integer}</UserId>
23
          <LastName
LastName

Last name of employee

>
{String}</LastName>
24
          <FirstName
FirstName

First name of employee

>
{String}</FirstName>
25
          <UserLink
UserLink

User reference

>
{String}</UserLink>
26
     </CreatedBy>
27
     <BatchJob>
28
          <BatchJobId
BatchJobId

Batch job identifier

>
{Integer}</BatchJobId>
29
          <BatchJobLink
BatchJobLink

Batch job reference

>
{String}</BatchJobLink>
30
     </BatchJob>
31
     <Totals>
32
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
33
          <OpeningBalance
OpeningBalance

Opening balance of bank statement

>
{Decimal}</OpeningBalance>
34
          <ClosingBalance
ClosingBalance

Closing balance of bank statement

>
{Decimal}</ClosingBalance>
35
          <BankAmount
BankAmount

Total transaction amount

>
{Decimal}</BankAmount>
36
          <PaymentAmount
PaymentAmount

Total payment amount

>
{Decimal}</PaymentAmount>
37
          <DeviationAmount
DeviationAmount

Total deviation amount

>
{Decimal}</DeviationAmount>
38
          <NotReconciledAmount
NotReconciledAmount

Amount of bank statement transactions which are not reconciled

>
{Decimal}</NotReconciledAmount>
39
     </Totals>
40
     <RamBaseTotals>
41
          <OpeningBalance
OpeningBalance

Opening balance of payments amount.

>
{Decimal}</OpeningBalance>
42
          <ClosingBalance
ClosingBalance

Closing balance of payments amount.

>
{Decimal}</ClosingBalance>
43
          <Amount
Amount

Payments total.

>
{Decimal}</Amount>
44
     </RamBaseTotals>
45
</BankStatement>
1
{
2
     "bankStatement": {
3
          "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
4
          "bankStatementId
BankStatementId

Bank statement identifier

":
"{Integer}",
5
          "status
Status

Status of bank statement

Possible domain values can be found here

":
"{Integer}",
6
          "bookingDate
BookingDate

Booking date of the bank statement

":
"{Date}",
7
          "errorMessage
ErrorMessage

Shows a message of validation error for this document

Possible domain values can be found here

":
"{String}",
8
          "sortIndex
SortIndex

Sorting index of bank statement

":
"{Integer}",
9
          "isExcludedFromAutomaticReconciliation
IsExcludedFromAutomaticReconciliation

Indicates if the bank statement should be excluded from automatic reconciliation

":
"{Boolean}",
10
          "bankAccount": {
11
               "bankAccountId
BankAccountId

Bank account identifier

":
"{Integer}",
12
               "name
Name

Name of bank account

":
"{String}",
13
               "accountNumber
AccountNumber

Account number used to identify the bank account

":
"{String}",
14
               "currency
Currency

Currency used for the bank account

":
"{String}",
15
               "bankAccountLink
BankAccountLink

Bank reference

":
"{String}"
16
          },
17
          "accountingPeriod": {
18
               "accountingPeriodId
AccountingPeriodId

Accounting period identifier

":
"{Integer}",
19
               "period
Period

Accounting period

":
"{Integer}",
20
               "accountingPeriodLink
AccountingPeriodLink

Accounting period reference

":
"{String}"
21
          },
22
          "createdBy": {
23
               "userId
UserId

User identifier

":
"{Integer}",
24
               "lastName
LastName

Last name of employee

":
"{String}",
25
               "firstName
FirstName

First name of employee

":
"{String}",
26
               "userLink
UserLink

User reference

":
"{String}"
27
          },
28
          "batchJob": {
29
               "batchJobId
BatchJobId

Batch job identifier

":
"{Integer}",
30
               "batchJobLink
BatchJobLink

Batch job reference

":
"{String}"
31
          },
32
          "totals": {
33
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
34
               "openingBalance
OpeningBalance

Opening balance of bank statement

":
"{Decimal}",
35
               "closingBalance
ClosingBalance

Closing balance of bank statement

":
"{Decimal}",
36
               "bankAmount
BankAmount

Total transaction amount

":
"{Decimal}",
37
               "paymentAmount
PaymentAmount

Total payment amount

":
"{Decimal}",
38
               "deviationAmount
DeviationAmount

Total deviation amount

":
"{Decimal}",
39
               "notReconciledAmount
NotReconciledAmount

Amount of bank statement transactions which are not reconciled

":
"{Decimal}"
40
          },
41
          "ramBaseTotals": {
42
               "openingBalance
OpeningBalance

Opening balance of payments amount.

":
"{Decimal}",
43
               "closingBalance
ClosingBalance

Closing balance of payments amount.

":
"{Decimal}",
44
               "amount
Amount

Payments total.

":
"{Decimal}"
45
          }
46
     }
47
}

Possible error codes the response might return:

Error 101814 HTTP 404 Employee not found